var age = prompt("请输入您的年龄");
var status = age >= 18 ? "已成年" : "未成年";
document.write(status);
